home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010921-20020314
/
000117_shifeux@hotmail.com_Tue Nov 6 11:46:53 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
96 lines
Article: 12935 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: shifeux@hotmail.com (Shifeux)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit Connection Script
Date: 6 Nov 2001 08:09:40 -0800
Organization: http://groups.google.com/
Lines: 78
Message-ID: <336f652d.0111060809.1f3e3640@posting.google.com>
NNTP-Posting-Host: 146.145.217.203
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1005062980 17748 127.0.0.1 (6 Nov 2001 16:09:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Nov 2001 16:09:40 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12935
Hello, I am testing a kermit server script and a connection script to
that particular kermit server. I am running the kermit server on an
IBM AIX4.3.3 server and I am writing the dial script on a DG-UX
machine. The server works fine as long as I login and issue commands
manually. When I script the login however i get a "protocol error"
telling me that a "login is required". Below is a copy of the server
log.
Transaction Log: C-Kermit 8.0.200 Beta.03, 9 Sep 2001
IBM AIX 4.3
Tue Nov 6 10:33:04 2001
Remote system type: UNIX
Protocol Error: Logout ignored
In the client connection script I am trying to perform the following
routine to test for files present on the server and to get them if
they exsist.
; Scripted login/password credentials, script will check at each stage
of
; the authentication to ensure that session communications are not
lost
output remote login \%l \%p\13 ; send remote login
command to kermit server
write TRANSACTION-LOG Login Successful. \13\10\13\10
write TRANSACTION-LOG Sending request to download ** RESULTS **\13\10
; Perform a query on the host server for files called test.* The
\v(query) variable
; will be 0 if no files match and 1 if any files match.
output remote query kermit files(test.*)
; If the \v(query) value is not 0, then get the files matching test.*
if not equal "v\(query)" 0 {get test.*}
write TRANSACTION-LOG There are currently no files for transfer from
NMS.
write TRANSACTION-LOG Results successfully downloaded from NMS.\13\10
output remote logout
exit
This gives me the following error.
Communication Device: /dev/tty01
Communication Speed: 38400
Parity: none
RTT/Timeout: 15 / 15
File Type:
File Size:
Bytes so far:
...10...20...30...40...50...60...70...80...90..100
Elapsed Time: 00:00:00
Transfer Rate, CPS: 0
Window Slots: 1 of 1
Packet Type: E
Packet Count: 2
Packet Length: 14
Error Count: 0
Last Error: FAILURE: Login required
Last Message:
I don't understand where the login failure is coming from. I have
logged in properly. When i execute the exact same commands manually,
all is fine, when i script them i have this problem. Is there
something simple (or even complicated) i am missing? Could this be
something with the kermit server itself? Thanks.